import expressSession from 'express-session'

const {SESSION_SECRET} = process.env
export function getSessionMiddleware(){
	return expressSession({
		secret: SESSION_SECRET,
		resave: false,
		saveUninitialized: true,
	})
}
